package pl.pawluk.inz.dao;

import pl.pawluk.inz.dao.impl.CourseService;
import pl.pawluk.inz.dto.CourseDTO;
import pl.pawluk.inz.entities.CourseEntity;

import java.util.Collection;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: mandp
 * Date: 18.04.13
 * Time: 20:46
 * To change this template use File | Settings | File Templates.
 */
public interface ICourseService {

    List<CourseDTO> getAll();

    List<CourseDTO> getByUser(Long userId);

    void create(CourseDTO course);

    void update(CourseDTO course);

    void delete(CourseDTO course);
}
